package com.sword.invoice.channel.lq.utils;

/**
 * Jackson 实现
 * JSON转换类工具
 * @Author zhangshiheng
 * @Date 2022-10-18 14:16
 * @Version 1.0
 **/
public class JsonConverterHelper {

/*    public static String converterJsonString(Object object) throws JsonProcessingException {
        JsonMapper jsonMapper = new JsonMapper();
        jsonMapper.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
        if(object==null){
            object=new Object();
        }
        return jsonMapper.writeValueAsString(object);
    }

    public static void main(String[] args) {
        TaxRateRequest rateRequest=null;
        try {
            String s=converterJsonString(rateRequest);
            System.out.println(s);
        } catch (JsonProcessingException e) {
            e.printStackTrace();
        }
    }*/


}
